/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ronin.dao.api;

import com.ronin.model.Arac;
import java.util.List;

/**
 *
 * @author esimsek
 */
public interface IAracDao {
    
    Arac getSingle(Arac arac);
    
    Arac getSingleById(Long id);
    
    Arac getSingleOneByNamedQuery(String namedQuery,Object... parameters);
    
    List<Arac> getList(Arac arac);
    
    List<Arac> getListByNamedQuery(String namedQuery,Object... parameters);
    
    int getCount(Arac arac);

    void add(Arac arac);

    void update(Arac arac);

    void delete(Arac arac);
}
